package com.ysxsoft.wdg.bean.zy;

import com.ysxsoft.wdg.bean.DiscussBean;
import com.ysxsoft.wdg.bean.DiscussBean2;

import java.util.ArrayList;
import java.util.List;

public class ZyGoodsBean {

    private GoodsBean goods;
    private int count;
    private String mobile;
    private List<DiscussBean2> discuss;

    public GoodsBean getGoods() {
        return goods;
    }

    public void setGoods(GoodsBean goods) {
        this.goods = goods;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public String getMobile() {
        return mobile == null ? "" : mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public List<DiscussBean2> getDiscuss() {
        if (discuss == null) {
            return new ArrayList<>();
        }
        return discuss;
    }

    public void setDiscuss(List<DiscussBean2> discuss) {
        this.discuss = discuss;
    }
}
